// 模拟异步请求
export const getAppName = () => {
  return new Promise((resolve, reject) => {
    const err = null
    setTimeout(() => {
      if (!err) {
        resolve({ code: 200, info: { appName: 'newAppName1'}})
      } else {
        reject(err)
      }
    })
  })
}
